package com.softeem.hello.service;

import com.softeem.hello.entity.User;

import java.util.List;

public interface UserService {
    /**用户注册 ...*/
    boolean registry(User user);

    /**用户登录...*/
    boolean login(String username,String password);

    /**根据id删除...*/
    boolean remove(Integer id);

    /**根据id修改密码...*/
    boolean modify(Integer id,String pwd);

    /**查询所有...*/
    List<User> list();
}
